//
//  Person.h
//  OC03_属性_点语法
//
//  Created by 侯平章 on 16/2/21.
//  Copyright © 2016年 侯平章. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject
/** 属性*/

@property (nonatomic,retain) NSString *name;/** 属性名前面没有 _符号*/
@property (nonatomic,retain) NSString *sex;
@property (nonatomic,assign) NSInteger age;

//@property NSString *name;/** 属性前面没有 _ */
//@property NSString *sex;
//@property NSInteger age;
/** 方法*/
- (instancetype)initWithName:(NSString*)name sex:(NSString*)sex age:(NSInteger)age;
+ (instancetype)Person;
+ (instancetype)PersonWithName:(NSString*)name sex:(NSString*)sex age:(NSInteger)age;
@end
